package com.jinke.api.modules.ums.vo;

import com.jinke.api.modules.third.ezeeship.model.request.EstimateRateRequest;
import com.jinke.api.modules.ums.model.Channel;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * 渠道树
 */
@Data
public class ChannelTreeVO {

    private Integer id;
    private String channelPlatformName;
    private String apiKey;
    private String apiSecret;
    private String type;
    private String title;
    private Integer value;
    private Integer key;
    private boolean isLeaf;
    private List<Sercond> children;

    /**
     * Auto-generated: 2024-09-11 13:16:38
     *
     * @author bejson.com (i@bejson.com)
     * @website http://www.bejson.com/java2pojo/
     */
    @Data
    public static class Children extends Channel {

        private Integer id;
        private String type;
        private String title;
        private Integer value;
        private Integer key;
        private boolean isLeaf;
    }

    @Data
    public static class Sercond {
        private Integer id;
        private Date updatedAt;
        private String channelName;
        private String channelCode;
        private String serviceCode;
        private Integer channelPlatformId;
        private Integer channelCarrierId;
        private double rate;
        private Integer price;
        private String channelOriginName;
        private Integer channelId;
        private Integer status;
        private Integer isBest;
        private Integer platformRate;
        private String postCard;
        private String type;
        private String title;
        private Integer value;
        private Integer key;
        private boolean isLeaf;
        private List<Children> children;

    }



}
